<template>
  <div>
    <tr>
      <td>
        <input type="number" @input="$emit('input',$event.target.value)" :value="value"/>
      </td>
      <td>
        <span>{{ obj }}</span>
      </td>
      <td><span v-if="value===0">卖光了!!!</span></td>
    </tr>
  </div>
</template>

<script>
export default {
  components: {},
  props: {
    obj: {
      type: String,
      required: true,
    },
    value: {
      type: Number,
      required: true,
    },
  },
  data() {
    return {};
  },
  computed: {},
  watch: {},
  created() {},
  methods: {},
};
</script>

<style scoped></style>
